package com.tsingtree.modular.model.result;

import com.tsingtree.modular.enums.CheckStatusEnum;
import com.tsingtree.modular.enums.ProductTypeEnum;
import lombok.Data;
import org.springframework.util.StringUtils;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 运营组-商品
 * </p>
 *
 * @author jagger
 * @since 2023-08-29
 */
@Data
public class NanSellerProductsResult implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private Date createTime;

    private Date updateTime;

    private Integer version;

    private String thumb;

    private String content;

    private String title;

    private String link;

    private String adImg;

    private  Boolean isDel;

    private Integer type;

    private String typeStr;

    private Integer isOnline;

    public String getTypeStr() {
        return ProductTypeEnum.getAll().get(type);
    }
    private String checkStatusStr;

}
